HAL XSPI macro migration ¶
This section provides information about the HAL XSPI macro migration.
HAL XSPI clear flag ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_XSPI_CLEAR_FLAG(__HANDLE__, __FLAG__)
|
__STATIC_INLINE void HAL_XSPI_ClearFlag(hal_xspi_handle_t *hxspi, uint32_t flag)
|
HAL XSPI disable ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_XSPI_DISABLE(__HANDLE__)
|
Replaced by : HAL_XSPI_DeInit(hal_xspi_handle_t *hxspi)
|
HAL XSPI disable IT ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_XSPI_DISABLE_IT(__HANDLE__, __INTERRUPT__)
|
__STATIC_INLINE void HAL_XSPI_DisableIT(hal_xspi_handle_t *hxspi, uint32_t it_source)
|
HAL XSPI enable ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_XSPI_ENABLE(__HANDLE__)
|
Replaced by : HAL_XSPI_SetConfig(hal_xspi_handle_t *hxspi, const hal_xspi_config_t *p_config)
|
HAL XSPI enable IT ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_XSPI_ENABLE_IT(__HANDLE__, __INTERRUPT__)
|
__STATIC_INLINE void HAL_XSPI_EnableIT(hal_xspi_handle_t *hxspi, uint32_t it_source)
|
HAL XSPI get flag ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_XSPI_GET_FLAG(__HANDLE__, __FLAG__)
|
Replaced by : HAL_XSPI_IsActiveFlag(const hal_xspi_handle_t *hxspi, uint32_t flag)
|
HAL XSPI get IT source ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_XSPI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)
|
Replaced by : HAL_XSPI_IsEnabledIT(const hal_xspi_handle_t *hxspi, uint32_t it_source)
|
HAL XSPI reset handle ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_XSPI_RESET_HANDLE_STATE(__HANDLE__)
|
Replaced by : HAL_XSPI_DeInit(hal_xspi_handle_t *hxspi)
|